package com.lavegue.model;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;

/**
 * TopUp entity. @author MyEclipse Persistence Tools
 */

public class TopUp implements java.io.Serializable {

	// Fields
	//充值类型,1: 财付通2，银行转账
	public static final int TOPUP_TYPE_CFT = 1;
	//网银
	public static final int TOPUP_TYPE_WY = 2;
	private Integer id;
	private UserInfo userInfo;
	private Date topupTime;
	private BigDecimal sum;
	//充值条数
	private Integer msgNum;
	private Integer topupType;
	private Integer remainNum;
	private Integer accRemain;
	private String transactionId;
	//private BigDecimal balance;

	// Constructors
	/** default constructor */
	public TopUp() {
	}

	public Integer getAccRemain() {
		return accRemain;
	}

	public void setAccRemain(Integer accRemain) {
		this.accRemain = accRemain;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public UserInfo getUserInfo() {
		return userInfo;
	}

	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}

	public Date getTopupTime() {
		return topupTime;
	}

	public void setTopupTime(Date topupTime) {
		this.topupTime = topupTime;
	}

	public BigDecimal getSum() {
		return sum;
	}

	public void setSum(BigDecimal sum) {
		this.sum = sum;
	}

	public Integer getMsgNum() {
		return msgNum;
	}

	public void setMsgNum(Integer msgNum) {
		this.msgNum = msgNum;
	}

	public Integer getTopupType() {
		return topupType;
	}

	public void setTopupType(Integer topupType) {
		this.topupType = topupType;
	}

	public Integer getRemainNum() {
		return remainNum;
	}

	public void setRemainNum(Integer remainNum) {
		this.remainNum = remainNum;
	}

	public String getTransactionId() {
		return transactionId;
	}

	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}
}